import service from '../utils/request'
// 获取方案列表
export function getProgramAll(data: any) {
  return service({
    url: '/police/liushui/programAll',
    method: 'get',
    data
  })
}
// 业务员获取数据接口
export function getData(data: any) {
  return service({
    url: '/police/liushui/getData',
    method: 'post',
    data
  })
}
// 推送
export function warningOne(data: any) {
  return service({
    url: '/police/liushui/warningOne',
    method: 'post',
    data
  })
}
// 不推送
export function notWarningOne(data: any) {
  return service({
    url: '/police/liushui/notWarningOne',
    method: 'post',
    data
  })
}
// 获取微信用户
export function getUserListAll() {
  return service({
    url: '/police/user/listAll',
    method: 'get'
  })
}
// 暂停
export function stopPost(data: any) {
  return service({
    url: '/police/liushui/stop',
    method: 'post',
    data
  })
}
// 开始
export function startPost() {
  return service({
    url: '/police/liushui/start',
    method: 'post'
  })
}
// 获取状态
export function getStatus() {
  return service({
    url: 'police/liushui/getStatus',
    method: 'post'
  })
}
